package com.example.demo.service.impl;

import com.example.demo.entity.EduTeacher;
import com.example.demo.dao.EduTeacherMapper;
import com.example.demo.service.EduTeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EduTeacherServiceImpl implements EduTeacherService {

    @Autowired
    EduTeacherMapper eduTeacherMapper;

    @Override
    public EduTeacher getEduTeacher(Integer id) {
        return eduTeacherMapper.getEduTeacher(id);
    }
}
